package cn.wolfcode.crm.query;

import org.springframework.util.StringUtils;

//只封装员工相关的参数
public class EmployeeQueryObject extends QueryObject {
    private String keyword;
    private Long deptId = -1L; //根据部门做查询

    public String getKeyword() {
        return StringUtils.hasLength(keyword) ? keyword : null;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}
